#define MSPHDDNS_C
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
//set start flag
#include <libmscommon/mscommon.h>
#include <libmslog/mslog.h>

#define FLAG "DDNS"

#define phddns_bin 		"phddns" 
#define phddns_web 		"https://b.oray.com" 

void phddns_api_start()
{
	char cmdbuf[512]={0};
	ms_cmd(cmdbuf, "%s  restart"  , phddns_bin);
}

void phddns_api_stop()
{
	char cmdbuf[512]={0};
	ms_cmd(cmdbuf, "%s  stop"  , phddns_bin);
}
void phddns_api_status()
{
	char cmdbuf[512]={0};
	ms_cmdRead("%s  status" , cmdbuf, sizeof(cmdbuf));
	ms_debug("%s",cmdbuf);
}
#undef MSPHDDNS_C
